package com.foreknow.demo14Exercise1;

import java.util.Scanner;

public class Test {
    public static void main(String[] args) {
        //输入一个字符串
        Scanner input = new Scanner(System.in);
        System.out.println("请输入一个字符串：");
        String str = input.next();
        Function f = new Function();
        f.count(str);
    }
}
